package adventuregame;

/**
 * Contains information about a Thing object
 * @author Jesper & Simon
 */
public class Thing {

	private String name = "";

	/**
	 * Initializes Thing
	 * @param n String, name of this Thing object.
	 */
	Thing(String n) {
		name = n;
	}

	/**
	 * Overrides toString, and returns the Name of the Thing object.
	 * @return String name of this Thing
	 */
	@Override
	public String toString() {
		return name;
	}
}
